package com.ruoyi.proSystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 营销设置对象 pro_marketing
 *
 * @author ruoyi
 * @date 2024-07-28
 */
public class ProMarketing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 已售数量 */
    @Excel(name = "已售数量")
    private String isSale;

    /** 排序 */
    @Excel(name = "排序")
    private Integer quanzhong;

    /** 购买送积分 */
    @Excel(name = "购买送积分")
    private String jifen;

    /** 购买送优惠券 */
    @Excel(name = "购买送优惠券")
    private String youhuiquan;

    /** 关联用户标签 */
    @Excel(name = "关联用户标签")
    private String userItem;

    /** 是否是付费会员专属 */
    @Excel(name = "是否是付费会员专属")
    private String isvip;

    /** 是否是单独设置 */
    @Excel(name = "是否是单独设置")
    private String onlyChange;

    /** 单独设置参数 */
    @Excel(name = "单独设置参数")
    private String onlyItem;

    /** 起购数量 */
    @Excel(name = "起购数量")
    private Integer startNum;

    /** 是否限购 */
    @Excel(name = "是否限购")
    private Integer restriction;

    /** 预售商品 */
    @Excel(name = "预售商品")
    private Integer presell;

    /** 商品推荐 */
    @Excel(name = "商品推荐")
    private String recommendation;

    /** 活动优先级 */
    @Excel(name = "活动优先级")
    private String priority;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    /** 选择优品推荐商品 */
    @Excel(name = "选择优品推荐商品")
    private String img;

    @Excel(name = "商品id")
    private Integer pid;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setIsSale(String isSale)
    {
        this.isSale = isSale;
    }

    public String getIsSale()
    {
        return isSale;
    }
    public void setQuanzhong(Integer quanzhong)
    {
        this.quanzhong = quanzhong;
    }

    public Integer getQuanzhong()
    {
        return quanzhong;
    }
    public void setJifen(String jifen)
    {
        this.jifen = jifen;
    }

    public String getJifen()
    {
        return jifen;
    }
    public void setYouhuiquan(String youhuiquan)
    {
        this.youhuiquan = youhuiquan;
    }

    public String getYouhuiquan()
    {
        return youhuiquan;
    }
    public void setUserItem(String userItem)
    {
        this.userItem = userItem;
    }

    public String getUserItem()
    {
        return userItem;
    }
    public void setIsvip(String isvip)
    {
        this.isvip = isvip;
    }

    public String getIsvip()
    {
        return isvip;
    }
    public void setOnlyChange(String onlyChange)
    {
        this.onlyChange = onlyChange;
    }

    public String getOnlyChange()
    {
        return onlyChange;
    }
    public void setOnlyItem(String onlyItem)
    {
        this.onlyItem = onlyItem;
    }

    public String getOnlyItem()
    {
        return onlyItem;
    }
    public void setStartNum(Integer startNum)
    {
        this.startNum = startNum;
    }

    public Integer getStartNum()
    {
        return startNum;
    }
    public void setRestriction(Integer restriction)
    {
        this.restriction = restriction;
    }

    public Integer getRestriction()
    {
        return restriction;
    }
    public void setPresell(Integer presell)
    {
        this.presell = presell;
    }

    public Integer getPresell()
    {
        return presell;
    }
    public void setRecommendation(String recommendation)
    {
        this.recommendation = recommendation;
    }

    public String getRecommendation()
    {
        return recommendation;
    }
    public void setPriority(String priority)
    {
        this.priority = priority;
    }

    public String getPriority()
    {
        return priority;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("isSale", getIsSale())
            .append("quanzhong", getQuanzhong())
            .append("jifen", getJifen())
            .append("youhuiquan", getYouhuiquan())
            .append("userItem", getUserItem())
            .append("isvip", getIsvip())
            .append("onlyChange", getOnlyChange())
            .append("onlyItem", getOnlyItem())
            .append("startNum", getStartNum())
            .append("restriction", getRestriction())
            .append("presell", getPresell())
            .append("recommendation", getRecommendation())
            .append("priority", getPriority())
            .append("img", getImg()).append("pid", getPid())
            .toString();
    }
}
